package cn.cdcoder.game.jh.domain;

import lombok.Data;

/**
 * 玩家，对应一副牌
 * 
 *
 */
@Data
public class Player {

	public Card[] cards = new Card[3];
	// 牌类型
	private int type;
	// 是否为特殊牌
	private boolean isSpecial = false;
	// A32也是顺子，比花色时，从3开始比较
	private boolean isA32 = false;
	// 牌绝对值大小
	private int value;

	public Player() {
	}

	public Player(Card card0, Card card1, Card card2) {
		this.cards[0] = card0;
		this.cards[1] = card1;
		this.cards[2] = card2;
	}



}
